package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
@Getter
@Setter
public class Tree {

    @Column(unique = true, nullable = false)
    private String code;

    @Column(nullable = false)
    private String label;
}
